import { http } from "@/api"
import { MenuListRes } from "./types/res"
import { MenuApi } from "./types/url"

//获取菜单
export function getMenuList() {
    return http.get<MenuListRes>(MenuApi.GET_ROUTER_LIST)
}